package com.ruoyi.system.domain.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class ComingOutRequest {
    @NotNull(message = "分类ID不能为空")
    private Long categoryId;

    @NotNull(message = "操作类型不能为空")
    private OperationType operationType;

    @NotNull
    @Min(1)
    private Integer operationNum;

    @Size(max = 50)
    private String batchNumber;

    @Size(max = 500)
    private String remark;

    @Size(max = 100)
    private String referenceOrder;
}
